package server.business.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import server.business.service.AboTypeService;
import server.business.service.ReviewStateService;
import server.business.utils.Result;

/**
 * 审核结果
 */
@Controller
@RequestMapping("reviewState")
public class ReviewStateController {
    @Autowired
    private ReviewStateService reviewStateService;

    /**
     * 查询审核状态
     */
    @RequestMapping("/review/queryReviewState")
    @ResponseBody
    public Result queryReviewState() {
        reviewStateService.list();
        Result result = new Result();
        result.setData(reviewStateService.list());
        return result;
    }
}
